Assigns a quaternion to another.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(quaternion), | intent(out) | :: | x |
The resulting quaternion. |
||
| type(quaternion), | intent(in) | :: | y |
The source quaternion. |
Assigns a 4-element vector to a quaternion.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(quaternion), | intent(out) | :: | x |
The resulting quaternion. |
||
| real(kind=real64), | intent(in), | dimension(4) | :: | y |
The source vector. |